﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="addAministrator.aspx.cs" Inherits="adminstrator_addAdministrator" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id ="form1" runat ="server" >
         <div style ="margin :0 auto;border-collapse:collapse;border-spacing :0;width :60%;height :420px;background :#d4bfef">
          
     <table border="0"  style  ="margin:0 auto;Width:70%;" >
                <tr style ="height:120px"><!--第一行-->
                    <td colspan ="2"><strong ><span style ="font-size :30pt;color :#0e0420;font-family:华文新魏;">添加新的管理员信息</span></strong></td>
                </tr>
         <tr style ="height :40px;"><!--第二行-->
                    <td class="auto-stringstyle"  style="font-size :20px" >用&nbsp;户&nbsp;编&nbsp;号&nbsp;</td>
                    <td style ="text-align:left;" class="auto-style2">
                        <asp:TextBox ID="nNo" runat="server" Font-Size="20px" Height="25px" MaxLength="10" Width="206px"></asp:TextBox>
                        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidatorID" ControlToValidate="nNo"
                             ErrorMessage ="*用户编号不能为空" ForeColor ="Red" ></asp:RequiredFieldValidator>
                    </td><!--*****将第二列宽度设置为70%-->
                </tr>
          <tr style ="height :40px;"><!--第三行-->
                    <td class="auto-stringstyle"  style="font-size :20px">&nbsp;&nbsp;姓&nbsp;名&nbsp;</td>
                    <td style ="text-align:left;" class="auto-style2">
                        <asp:TextBox ID="nName" runat="server" Font-Size="20px" Height="25px" MaxLength="10" Width="206px"></asp:TextBox>
                        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" ControlToValidate="nName"
                             ErrorMessage ="*姓名不能为空" ForeColor ="Red" ></asp:RequiredFieldValidator>
                    </td><!--*****将第二列宽度设置为70%-->
                </tr>
         
                        <tr style ="height :40px;"><!--第三行-->
                    <td class="auto-stringstyle" style="font-size :20px">&nbsp;&nbsp;密 &nbsp;码&nbsp;</td> 
                    <td style ="text-align :left " class="auto-style2">
                        <asp:TextBox runat ="server" ID ="nPass" Width ="200px" Height ="25px "
                         Font-Size="20px" TextMode ="Password" ></asp:TextBox> 
                    <asp:RequiredFieldValidator runat ="server" ID ="RequiredFieldValidatorPass" ControlToValidate ="nPass"
                        ErrorMessage="*密码不能为空" ForeColor ="Red" ></asp:RequiredFieldValidator>
                    </td>
                </tr>
                         <tr style ="text-align : center;height :50px">
            <td colspan ="4">
                <asp:Button runat="server" ID ="ButtonOK" Text="确定" Font-Size="20px" OnClick="ButtonOK_Click2" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <input type ="reset" id ="ButtonReset" value="重置" style ="Font-Size:20px;width :90px;height :35px"/>
            </td>
                              <td style ="text-align :left ">
        <asp:Label ID="LabelError" runat="server" Font-Size="20px" ForeColor ="Red" ></asp:Label>
        </td>
            </tr>
         
            </table>
    </div>
    </form>
                      
</body>
</html>
